package com.hitqz.robot.biz.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hitqz.robot.api.business.entity.PatrolResultEntity;
import com.hitqz.robot.api.business.params.QueryPatrolSummaryParams;
import com.hitqz.robot.api.business.vo.PatrolResultSummaryVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author wengyx
 * @date 2024/8/11
 */
@Mapper
public interface PatrolResultMapper extends BaseMapper<PatrolResultEntity> {
    Page<PatrolResultSummaryVo> summaryPage(Page<PatrolResultSummaryVo> page, @Param(value = "query")  QueryPatrolSummaryParams query);
    PatrolResultSummaryVo summary(@Param(value = "query") QueryPatrolSummaryParams query);
}
